/**
 * 
 */
package org.gov.vis.master.dao;

import java.util.List;

import org.gov.vis.master.dto.DeptDto;

/**
 * @author Vishwanath
 *
 */
public interface DepartmentDao {

	/**
	 *Method called to either Add or Edit a Department
	 */
	public void addOrEditDept(final DeptDto _deptDto) throws Exception;
	
	/**
	 *Method called to Delete a Department
	 */
	public void deleteDept(final long _deptId) throws Exception;
	
	/**
	 *Method called to get the list of Departments based on the passed Department 
	 */
	public List<DeptDto> getDepartments(final DeptDto _deptDto) throws Exception;
	
	/**
	 *Method called to search the Departments based on the passed Department 
	 */
	public List<DeptDto> searchDepartments(final DeptDto _deptDto) throws Exception;

}//end Interface
